<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="Content-Language" content="en-us">
		<meta http-equiv="Content-Type" content="text/html; charset=iso8859-01">
		<title>{$title}</title>
	</head>
        <body>
	<h2>{$company_name}</h2>
	<table width="95%" height="750 em" style="border:1.5px solid;border-bottom:2.5px solid;" align=center  cellpadding=0 cellspacing=0>
		<tr>
			<td colspan=7 valign=top>
			<table width="100%" cellpadding=0 cellspacing=0>
				<tr>
				<td width="25%" style="border-bottom:1px solid;border-right:1px solid;border-left:1px solid;">
				{$from_add}
				</td>
				<td width="25%" style="border-bottom:1px solid;border-right:1px solid;border-left:1px solid;">
				{$factory}
				{$tax_details}
				</td>
				<td style="border-bottom:1px solid;border-right:1px solid;border-left:1px solid;" valign=top>
				<table style="border-bottom:1px solid;" width="100%"><tr><td>Order No: {$order_no}</td><td>Date: {$order_date}</td></tr></table>
				{$to_add}
				</td>
				</tr>
			</table>
			</td>
		</tr>
		<tr>
		<td colspan=7 style="text-align:left;border-bottom:1px solid;border-top:1px solid;border-right:1px solid;border-left:1px solid;">
		<b><I>Pleased to confirm our order for the following:</I></b>
		</td>
		</tr>
		<tr>
			<td style="text-align:center;border-bottom:1px solid;border-top:1px solid;border-right:1px solid;border-left:1px solid;width:5%;"><b>Sl.No.</b></td>
			<td style="text-align:center;border-bottom:1px solid;border-top:1px solid;border-right:1px solid;border-left:1px solid;"><b>Material</b></td>
			<td style="text-align:center;border-bottom:1px solid;border-top:1px solid;border-right:1px solid;border-left:1px solid;"><b>Colour</b></td>
			<td style="text-align:center;border-bottom:1px solid;border-top:1px solid;border-right:1px solid;border-left:1px solid;"><b>Remarks</b></td>
			<td style="text-align:center;border-bottom:1px solid;border-top:1px solid;border-right:1px solid;border-left:1px solid;" ><b>Quantity</b></td>
			<td style="text-align:center;border-bottom:1px solid;border-top:1px solid;border-right:1px solid;border-left:1px solid;"><b>Rate</b></td>
			<td style="text-align:center;border-bottom:1px solid;border-top:1px solid;border-right:1px solid;border-left:1px solid;width:10%;"><b>Amount</b></td>
		</tr>
		<tr>
			{foreach name=outer item=item_list from=$item_list}
				</tr>
				<tr>
				{foreach key=key item=item from=$item_list}
					{foreach key=name item=display_name from=$item}
						<td style="border-right:1px solid;border-left:1px solid;{$name}" >{$display_name}</td>
					{/foreach}
				{/foreach}
			{/foreach}
		</tr>
		<tr>
		<td colspan=5 style="border-top:1px solid;border-bottom:1px solid;border-left:1px solid;">
		Rupees {$word_amount}
		</td>
		<td style="text-align:right;border-bottom:1px solid;border-top:1px solid;">
		<b><font size=2>Total :&nbsp; </font></b>
		</td>
		<td align="right" style="border-top:1px solid;border-bottom:1px solid;border-right:1px solid;">
		<font size=3 ><b>{$total}</b></font>
		</td>
		</tr>
		<tr>
			<td colspan=2  valign=top style="border-bottom:1px solid;">
			Transport : {$transport}
			</td>
			<td valign=top style="border-bottom:1px solid;">
			Payment : {$payment} days after delivery
			</td>
			<td colspan=4 valign=top style="border-bottom:1px solid;border-right:1px solid;">
			Delivery Date : {$delivery_dt}
			</td>
		</tr>
		<tr>
			<td valign=top colspan=3>
			Received & Accepted
			</td>
			<td colspan=4 valign=top style="border-right:1px solid;">
			<div align=right>for {$from_name}
			<br />
			<br />
			<br />
			<br />
			<br />
			<input type=text style="font-size: 8pt;background-color: #ffffff;font-family: verdana, helvetica, sans-serif;vertical-align:middle;border : none;border-bottom-color :  #ffffff;border-bottom-width : 1px;border-left-color :  #ffffff;border-left-width : 1px;border-right-color :  #ffffff;border-right-width : 1px;border-top-color :  #ffffff;border-top-width : 1px;border-spacing : 2px;margin-bottom : 5px;"></input></div>
			</td>
		</tr>
	</table>
	</body>
</html>
